package ss9999999999;

public class two {
    public static void main(String[] args) {
        for (int i=0;i<=370;i++){
            if(i-10+i+20+i*2+i/2==370){
                System.out.println(i-10);
            }
        }


    }
}
